$OpenBSD: patch-Makefile,v 1.1.1.1 2011/06/21 21:05:48 ajacoutot Exp $
--- Makefile.orig	Tue Sep  1 14:35:59 2009
+++ Makefile	Tue Jun 21 19:25:44 2011
@@ -1,13 +1,13 @@
 SRCS = sslscan.c
-BINPATH = /usr/bin/
-MANPATH = /usr/share/man/
+BINPATH = ${PREFIX}/bin/
+MANPATH = ${PREFIX}/man
 
 all:
-	gcc -g -Wall -lssl -o sslscan $(SRCS) $(LDFLAGS) $(CFLAGS)
+	${CC} -g -Wall -lssl -lcrypto -o sslscan $(SRCS) $(LDFLAGS) $(CFLAGS)
 
 install:
-	cp sslscan $(BINPATH)
-	cp sslscan.1 $(MANPATH)man1
+	$(BSD_INSTALL_PROGRAM) sslscan $(BINPATH)
+	$(BSD_INSTALL_MAN) sslscan.1 $(MANPATH)/man1
 
 uninstall:
 	rm -f $(BINPATH)sslscan
